/*
 * @文件描述: 
 * @公司: 
 * @作者: 李洪文
 * @Date: 2020-10-09 17:25:31
 * @LastEditors: 李洪文
 * @LastEditTime: 2020-10-10 10:03:35
 */
package com.myapp;
import android.os.Bundle;
import com.facebook.react.ReactActivity;
import org.devio.rn.splashscreen.SplashScreen;

public class MainActivity extends ReactActivity {

  /**
   * Returns the name of the main component registered from JavaScript. This is used to schedule
   * rendering of the component.
   */
  @Override
  protected String getMainComponentName() {
    return "MyApp";
  }

  @Override
  protected void onCreate(Bundle savedInstanceState) {
    SplashScreen.show(this);
    super.onCreate(savedInstanceState);
  }
}
